<TABLE class="commit_table" width="63%" align="center" cellspacing="5" cellpadding="0">
    <TR>
        <TD width="100%" class="commit_caption">
            <TABLE border="0">
                <TR>
                    <TD  nowrap align="left" width="100%">
                        <!--TPL:"Settings"|gettext-->
                    </TD>
                </TR>
            </TABLE>
        </TD>
    </TR>
    <TR>
        <TD width="100%">

            <form method="POST" enctype="multipart/form-data" action="/settings">
                <table cellspacing="15" border="0" width="100%">
                    <tr>
                        <td colspan="2">
                            <span style="font-size: 12px; font-weight: bold;"><!--TPL:"Your userpic"|gettext--></span>
                        </td>
                    </tr>
                    <tr>
                        <td width="30%"></td>
                        <td>
                            <div class="badge">
                                <!--TPL:if $user->picture_path-->
                                <img class="userpic" alt="" src="<!--TPL:$user->picture_path-->">
                                <!--TPL:else-->
                                <img class="userpic" alt="" src="/img/no_userpic.jpg">
                                <!--TPL:/if-->
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td width="30%">
                            <span style="font-size: 12px;"><!--TPL:"Upload userpic"|gettext--></span>
                        </td>
                        <td>
                            <input type="file" name="file">
                        </td>
                    </tr>
                    <tr>
                        <td width="30%"></td>
                        <td><span class="userpic_desc">
                                <!--TPL:"Uploaded images (jpg/png) will be resized."|gettext--><BR>
                                <!--TPL:"Result image will be"|gettext--> <!--TPL:$userpic_max_width--> <!--TPL:"pixels wide"|gettext-->,<BR>
                                <!--TPL:"with a maximum height of"|gettext--> <!--TPL:$userpic_max_height--> <!--TPL:"pixels"|gettext-->.
                            </span>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <span style="font-size: 12px; font-weight: bold;"><!--TPL:"Language"|gettext--></span>
                        </td>
                    </tr>
                    <tr>
                        <td width="30%">
                            <span class="userpic_desc"><!--TPL:"Choose your language"|gettext--></span>
                        </td>
                        <td>
                            <select name="lang">
                                <option value="en" <!--TPL:if $user->lang == 'en'-->selected<!--TPL:/if-->><!--TPL:"English"|gettext--></option>
                                <option value="ru" <!--TPL:if $user->lang == 'ru'-->selected<!--TPL:/if-->><!--TPL:"Russian"|gettext--></option>
                            </select>
                        </td>
                    </tr>
                    <tr>
                        <td width="30%"></td>
                        <td>
                            <input type="submit" value="<!--TPL:"save"|gettext-->">
                        </td>
                    </tr>
                    <!--TPL:foreach name=outer from=$errors item=item-->
                    <tr>
                        <td width="30%"></td>
                        <td>
                            <!--TPL:$item-->
                        </td>
                    </tr>
                    <!--TPL:/foreach-->
                </table>
            </form>
        </TD>
    </TR>
</TABLE>